let fs = require("fs");


// 省略了打开和关闭  
fs.writeFileSync("./demo/b.txt","哈哈哈哈","utf-8");